package com.bolt.support.spring.jpa.jpql;

import java.util.function.Consumer;

/**
 * Created by Administrator on 2020/9/9.
 */
public interface JPQLUpdate<U> {

    U set(StitchClause stitchClause);

    <E> U set(ColumnClause<E> columnClause, E value);

    long execute();

    U where(CompareClause clause);

    U where(Consumer<CompareClause> consumer);
}

 